package com.bgys.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * 页面
 * @author 悲歌易水
 */
@Controller
public class PageController {
    /**
     * 跳转到api文档
     * @return
     */
    @GetMapping("/api")
    public String home() {
        return "redirect:/swagger-ui/index.html";
    }
}
